package com.ww.learn.funs

// 打印结果
//before local return
fun main() {
    foo { return }
}

inline fun foo(returning: () -> Unit) {
    println("before local return")
    returning()
    println("after local return")
    return
}